Learn R Programming

medfate (version 2.8.0)

Forest manipulation: Forest utility functions

Description

Functions to manipulate a forest object.

Usage

forest_mergeTrees(x, byDBHclass = TRUE)
forest_mergeShrubs(x, byHeightclass = TRUE)

Value

Another forest object with merged trees or shrubs, depending on the function.

Arguments

x

An object of class forest.

byDBHclass

Boolean flag to indicate that 5-cm tree DBH classes should be kept separated.

byHeightclass

Boolean flag to indicate that 10-cm shrub height classes should be kept separated.

Author

Miquel De Cáceres Ainsa, CREAF

See Also

spwb, forest, fordyn, summary.forest